<html><head><title>CloseSerialPort</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">CloseSerialPort()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>CloseSerialPort</b></font>(#SerialPort)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Closes the serial port previously opened with <a href="openserialport.html">OpenSerialPort()</a>. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#SerialPort</i></td>
<td width="90%"> 
The serial port to close. If <font color="#924B72">#PB_All</font> is specified, all the remaining serial ports are freed. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Remarks</b></p><blockquote>

All remaining opened serial ports are automatically closed when the program ends. 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=availableserialportoutput.html>AvailableSerialPortOutput()</a> - <a href="index.html">SerialPort Index</a> - <a href="getserialportstatus.html">GetSerialPortStatus()</a> -><br><br>

</body></html>